CC = gcc
# CFLAGS = -g -O0
CFLAGS = -O0

avg: avg.c int.c
	$(CC) $(CFLAGS) -o $@ $^

TestPoint: TestPoint.c PointImpl.c
	$(CC) $(CFLAGS) -o $@ $^

josephus: josephus.c
	$(CC) $(CFLAGS) -o $@ $^

test_reverse: test_reverse.c
	$(CC) $(CFLAGS) -o $@ $^

test_insert_sort: test_insert_sort.c
	$(CC) $(CFLAGS) -o $@ $^

clean:
	rm -f avg TestPoint josephus test_reverse test_insert_sort